#!/usr/bin/python
import web
import sys
ROOT_PATH = __file__[:-11]
sys.path.append(ROOT_PATH)
sys.path.append('%slib' % (ROOT_PATH))

class ping:
    def GET(self):
        return 0

class Run:
    def __init__(self):
        urls =('/ping','ping')
        app = web.application(urls,globals())
        return app.run()
